package com.ruoyi.kenuo.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

@Data
public class EquVo  extends BaseEntity {
    /** 编码 */
    private Long id;

    /** 设备sn码 */
    @Excel(name = "设备sn码")
    private String snCode;


    /** userId */
    @Excel(name = "userId")
    private String userId;

    /** 设备型号 */
    @Excel(name = "设备型号")
    private String equipmentModel;
    /** 设备型号 */
    @Excel(name = "设备型号")
    private String equipmentName;

    /** 绑定状态 绑定状态 1:未绑定  2：已绑定 */
    @Excel(name = "绑定状态")
    private Integer boundStatus;

    /** 绑定用户id */
    @Excel(name = "绑定用户id")
    private Long boundId;

    /** 绑定用户名 */
    @Excel(name = "绑定用户名")
    private String boundName;

    /** 绑定手机号 */
    @Excel(name = "绑定手机号")
    private String boundPhone;

    /** 治疗人数量 */
    @Excel(name = "治疗人数量")
    private Integer therapyNum;

    /** 绑定时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "绑定时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date boundTime;

    /** 解绑时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "解绑时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date unboundTime;

    /** 设备版本 */
    @Excel(name = "设备版本")
    private String version;
    /** 经销商id */
    @Excel(name = "经销商id")
    private String xsUserId;
    /** 经销商姓名 */
    @Excel(name = "经销商姓名")
    private String xsName;
    /** 销售渠道 */
    @Excel(name = "销售渠道")
    private String saleNel;

    /** 是否租赁 */
    @Excel(name = "是否租赁")
    private Integer isLease;

    /** 租赁开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "租赁开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date leaseCreateTime;

    /** 租赁结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "租赁结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date leaseEndTime;


    /** 设备说明 */
    @Excel(name = "设备说明")
    private String des;
}
